package org.jeecg.modules.parameter.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * @author P
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName(value = "sim_trains", schema = "simulator")
@ApiModel(value = "sim_trains", description = "参数-线路-车辆")
public class SimTrain implements Serializable {
    @ApiModelProperty(value = "车辆id号，唯一标识")
    @TableId(type = IdType.ASSIGN_UUID, value = "id")
    private String id;

    @ApiModelProperty(value = "所属线路ID（uuid）")
    @TableField(value = "main_line_id")
    private String mainLineId;

    @ApiModelProperty(value = "车体号，唯一标识")
    @TableField(value = "bodyId")
    private String bodyId;

    @ApiModelProperty(value = "车辆名")
    @TableField(value = "train_name")
    private String trainName;

    @ApiModelProperty(value = "车型")
    @TableField(value = "trainType")
    private String trainType;



    @ApiModelProperty(value = "容量")
    @TableField(value = "capacity")
    private String capacity;

    @ApiModelProperty(value = "车型面积")
    @TableField(value = "area")
    private String area;

    @ApiModelProperty(value = "人数")
    @TableField(value = "numberOfPeopleSMeter")
    private String numberOfPeopleSMeter;

    @ApiModelProperty(value = "最大满载")
    @TableField(value = "maxfullload")
    private String maxfullload;

    @ApiModelProperty(value = "最大车速")
    @TableField(value = "maxspeed")
    private String maxspeed;

    @ApiModelProperty(value = "车厢数量")
    @TableField(value = "carriagesnumber")
    private String carriagesnumber;

}